package com.study.base.enumtest;

/**
 * Description:
 * User: tan
 * DateTime: 2018/2/9 14:35
 */
public class EnumTest {
    private static EnumTest test = new EnumTest();
    enum Type {
        a(1), b(3);

        Type(int value) {
            this.value = value;
        }

        private int value;

        public int getValue() {
            return value;
        }
    }

    public static void main(String[] args) {
        System.out.println(Type.a.getValue());
        //com.study.base.enumtest.EnumTest test = new com.study.base.enumtest.EnumTest();
    }
}
